package com.xqboss.apps.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * 用户身份-权限-装备升级上限
 *
 * @author makejava
 * @since 2023-12-07 13:46:43
 */
@Data
@ApiModel("用户身份-权限-装备升级上限")
public class UserIdentityPermBasicVo{

    @ApiModelProperty("装备升级上限id")
    private Long id;

    @ApiModelProperty("身份id")
    @NotNull(message = "身份id不能为空")
    private Long identityId;

    @ApiModelProperty("最大装备升级基础等级")
    @NotNull(message = "基础等级不能为空")
    @Range(min = 1L)
    private Integer equipUpMaxBaseLevel;

    @ApiModelProperty("最大装备升级每级跨度")
    @NotNull(message = "每级跨度不能为空")
    @Range(min = 1L)
    private Integer equipUpMaxPerLevel;

}
